projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ef8a5
)
filechooserentry: Set the text column of the entry completion
author
Benjamin Otte
<otte@redhat.com>
Sun, 6 Nov 2011 01:33:57 +0000
(
02:33
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 16 Dec 2011 19:09:12 +0000
(20:09 +0100)
I want to use it in the next commits, but am doing this in a separate
commit so we can find side effects causing bugs easier when bisecting.
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index ed97f1abaf268262bece903f1924993beffb5a31..e2a8a546145990ff1f71412a9569723586aa157f 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-207,6
+207,8
@@
_gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
comp = gtk_entry_completion_new ();
gtk_entry_completion_set_popup_single_match (comp, FALSE);
+ /* see docs for gtk_entry_completion_set_text_column() */
+ g_object_set (comp, "text-column", FULL_PATH_COLUMN, NULL);
gtk_entry_completion_set_match_func (comp,
completion_match_func,